home *** CD-ROM | disk | FTP | other *** search
-
- #import <appkit/appkit.h>
-
- @interface UPath:Object
- {
- int maxParams;
- int maxOps;
- BOOL ping;
- @public
- float *bboxParams;
- float *bbox;
- float *params;
- int sizeParams;
- int sizeOps;
- char *ops;
- char *bboxOps;
- NXPoint cp;
- }
-
- // creating and destroying
- - initCountParams:(int)numParams countOps:(int)numOps;
- - init;
- - free;
- - copyFromZone:(NXZone *)zone;
-
- // accessing
- - getBounds:(NXRect *)aRect;
-
- // defining user path
- - resetFill;
- - updateBBoxOnX:(float)x andY:(float)y;
- - moveto:(float)x :(float)y;
- - rmoveto:(float)x :(float)y;
- - lineto:(float)x :(float)y;
- - rlineto:(float)x :(float)y;
- - curveto:(float)x1 :(float)y1 :(float)x2 :(float)y2 :(float)x3 :(float)y3;
- - rcurveto:(float)dx1 :(float)dy1 :(float)dx2 :(float)dy2 :(float)dx3 :(float)dy3;
- - arc:(float)x :(float)y :(float)r :(float)ang1 :(float)ang2;
- - arcn:(float)x :(float)y :(float)r :(float)ang1 :(float)ang2;
- - arct:(float)x1 :(float)y1 :(float)x2 :(float)y2 :(float)r;
- - closepath;
-
- // sending
- - debugSend:(int)op cached:(BOOL)cache;
- - send:(int)op cached:(BOOL)cache;
-
- // archiving
- - write:(NXTypedStream *)stream;
- - read:(NXTypedStream *)stream;
- - awake;
-
- @end
-